﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteRequireLogin.Master" AutoEventWireup="true" CodeBehind="Them-Huy-Chuong-Pharmacity.aspx.cs" Inherits="TranTekBE.KPI_NhanSu.Them_Huy_Chuong_Pharmacity" %>

<%@ Register Src="~/KPI-NhanSu/Menu-KPI.ascx" TagPrefix="uc1" TagName="MenuKPI" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="../Scripts/jquery.MultiFile.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" runat="server">
    <div id="add_achievements" style="margin-top: 60px; position: absolute;">
        <!--Menu-->
        <uc1:MenuKPI runat="server" ID="MenuKPI" />
        <!--Menu-->
        <div style="border: 1px solid #000; padding: 10px">
            <h3 style="background-color:#ccc;padding:5px">Thêm  Quy Định Khen Thưởng & Xử Phạt</h3>
            <a href="" id="thuong">
                <img width="60px" alt="Thêm Event" title="Thêm Event" src="../images/KPI/event.png" /></a>
            <a href="" style="margin-left: 20px;" id="phat">
                <img width="60px" alt="Thêm Trường Hợp Phạt" title="Thêm Trường Hợp Phạt" src="../images/KPI/dangerous.png" /></a>
        </div>
        <div style="border: 1px solid #000; padding: 10px">
            <h3 style="background-color:#ccc;padding:5px">Thêm  Achievements - Pharmacity</h3>
            <asp:Label ID="ltAddErr" runat="server"></asp:Label>
            <asp:DropDownList ID="droplist_Achievements" runat="server">
            </asp:DropDownList>
            <asp:FileUpload ID="FileUpload_Image" runat="server" AllowMultiple="true" />
            <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="Upload" />
            <asp:Button ID="btnDel" runat="server" Text="Delete" OnClick="Delete" Style="margin-left: 30px" />
            <hr />
            <div>
                <asp:Literal runat="server" ID="ltlDivDynamic_img"></asp:Literal><!--Gọi Div Code-->
            </div>
        </div>
        <br />
        <br />
    </div>
    <script type="text/javascript">
        function LoadJS() {

            //Thưởng
            $('a[id^="thuong"]').on("click", function (e) {

                e.preventDefault();
                OpenDialog("Thêm quy định khen thưởng cho nhân viên", "Them-Quy-Dinh-Khen-Thuong.aspx", 500, 954);

            }
            );
            //Phạt
            $('a[id^="phat"]').on("click", function (e) {

                e.preventDefault();
                OpenDialog("Thêm quy định xử phạt cho nhân viên", "Them-Quy-Dinh-Xu-Phat.aspx", 500, 954);

            }
            );

        }
    </script>
</asp:Content>
